#include <catch2/catch.hpp>

#include "044_medium.hpp"

using namespace jianzhi_044;

TEST_CASE("044", "[JIANZHI][044]")
{

CHECK(Solution().findNthDigit(3)          == 3);
CHECK(Solution().findNthDigit(10)         == 1);
CHECK(Solution().findNthDigit(11)         == 0);
CHECK(Solution().findNthDigit(13)         == 1);
CHECK(Solution().findNthDigit(1000000000) == 1);

}
